<template>
  <div>
    <van-swipe
      class="my-swipe"
      :autoplay="3000"
      indicator-color="darkred"
      :style="{ height: h }"
    >
      <van-swipe-item v-for="item in banner" :key="item.id">
        <img
          :src="item.image_url"
          alt=""
          width="100%"
          style="display: 'block'"
        />
      </van-swipe-item>
    </van-swipe>
  </div>
</template>

<script>
export default {
  name: "Home2",
  data() {
    return {
      areaList: {
        province_list: {
          110000: "北京市",
          120000: "天津市",
        },
        city_list: {
          110100: "北京市",
          120100: "天津市",
        },
        county_list: {
          110101: "东城区",
          110102: "西城区",
          // ....
        },
      },
    };
  },
};
</script>

<style>
</style>